﻿/*
 *
 * @author 		Zero
 * @version 	1.1
 * @comments	Le agregué un type para poder identificar el tipo de contacto
 * 				1.2
 *				Las extensions ahora no son más un array, son una Extensions
 				1.3
 				Se agrega un visibility para manejar los permisos de visualización
 *
 */
 
 import com.dinmax.flash.central.extension.user.Person;
 import com.dinmax.flash.central.extension.Extensions;
 
 class com.dinmax.flash.central.extension.user.Contact
 extends Person {
	
	public static var PUBLIC:String = "Public";
	public static var PRIVATE:String = "Private";
	
	private var type:String // tipo de contacto familia / amigo / trabajo
	private var visibility:String // public / private
	private var extensions:Extensions; // de extensions
		
	public function setExtensions (newExtensions:Extensions):Void {
		extensions = newExtensions;
	}
	
	public function getExtensions ():Extensions {
		return extensions;
	}
	
	public function getType():String {
		return type;
	}

	public function setType(type:String):Void {
		this.type = type;
	}

	public function getVisibility():String {
		return visibility;
	}

	public function setVisibility(visibility:String):Void {
		this.visibility = visibility;
	}

}